Brake control unit

ABSTRACT

A brake control unit for providing a brake output signal to a brake load includes a processor, an accelerometer and a memory subsystem. The accelerometer is coupled to the processor and provides a brake control signal to the processor, which is configured to provide the brake output signal to the brake load in response to the brake control signal. The memory subsystem is coupled to the processor and stores processor executable code, which causes the processor to automatically acquire an operating point of the brake control signal when the brake control unit is mounted within a range of operating positions.

BACKGROUND OF THE INVENTION

The present invention is directed to a brake control unit, and more specifically to an improved brake control unit for providing a brake output signal to a brake load of a towed vehicle.

Various prior art brake control units have included a display to provide an operator of a towing vehicle with various information. These displays have included a plurality of light emitting diodes (LEDs) and/or one or more seven-segment displays. The LED type display has typically provided an indication of the magnitude of the output (i.e., a brake output signal) of the brake control unit and the seven-segment type display has generally provided a numerical value for the brake output signal. While some prior art brake control units have provided status and diagnostic information, the status and diagnostic information has been somewhat limited. For example, information provided through a plurality of LEDs has required an operator of the towing vehicle to decode the meaning of the LEDs to determine what information the brake control unit was attempting to provide to the operator.

Some prior art brake control units have also included a processor for receiving a brake control signal from an accelerometer. The brake control signal provided by the accelerometer has been utilized to determine when the towing vehicle was decelerating so that a brake output signal (e.g., an energizing current) could be applied to a brake load (i.e., brake electromagnets) of a towed vehicle (e.g., a trailer), in response to the deceleration of the towing vehicle. These prior art brake control units have typically required an operator of the towing vehicle to set or adjust, by mechanical means, a reference level of the accelerometer; when the brake control unit was initially mounted or changed to a different mounting orientation. These accelerometers typically only functioned over a small range and required leveling to be on the edge of detection. In general, prior art brake control units have not accounted for changes in the accelerometer output (i.e., the brake control signal) due to temperature variation. In addition, prior art brake control units have only provided a brake output signal to a brake load of the towed vehicle when the towing vehicle was moving in a forward direction. As such, the brakes of the towing vehicle have been required to hold the towed vehicle when the towing vehicle was stopped on an incline and to stop the towed vehicle when the towing vehicle was backing-up.

What is needed is a brake control unit that eliminates the need to manually adjust the level of the accelerometer when the brake control unit is initially mounted or changed to a different mounting orientation. Additionally, it would be desirable for the brake control unit to automatically adjust for the changes in the accelerometer output that are due to temperature variations. Further, it would be desirable for the brake control unit to display a wide range of status and diagnostic information to an operator of the towing vehicle. In addition, it would be desirable for the brake control unit to provide a proportional brake output signal to a brake load of a towed vehicle when stopping in reverse and a fixed brake output signal when the towing vehicle is stopped with the brake pedal depressed.

SUMMARY OF THE INVENTION

The present invention is directed to a brake control unit for providing a brake output signal to a brake load. The brake control unit includes a processor, an accelerometer and a memory subsystem. The accelerometer is coupled to the processor and provides a brake control signal to the processor, which is configured to cause a brake output signal to be provided to the brake load responsive to the brake control signal. The memory subsystem is coupled to the processor and includes processor executable code, which causes the processor to automatically acquire an operating point of the brake control signal when the brake control unit is mounted within a range of operating positions.

According to another embodiment of the present invention, the brake control unit includes a display for providing status and diagnostic information. In another embodiment, the display provides an indication when the brake control unit is not mounted within the range of operating positions. In still another embodiment of the present invention, the brake control unit is mounted in the towing vehicle and provides a proportional brake output signal to the brake load of the towed vehicle when the towing vehicle brakes are applied while backing-up. It also applies a fixed output when the towing vehicle is stopped with the brake pedal depressed.

In yet another embodiment of the present invention, the components of the brake control unit are mounted on a printed circuit board (PCB) with the accelerometer being mounted at an angle with respect to the PCB.

These and other features, advantages and objects of the present invention will be further understood and appreciated by those skilled in the art by reference to the following specification, claims, and appended drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings:

FIG. 1A is a block diagram of a brake control unit, according to an embodiment of the present invention;

FIG. 1B is a diagram depicting the mounting relationship of an accelerometer with respect to a printed circuit board (PCB) of the brake control unit of FIG. 1A, according to an embodiment of the present invention;

FIGS. 2A-2B are a schematic diagram of a brake control unit, according to an embodiment of the present invention;

FIG. 3A is a diagram of exemplary brake control signals provided by an accelerometer;

FIG. 3B is a diagram of an exemplary reference signal and an exemplary measurement signal that are utilized to determine whether a brake load is coupled to the brake control unit; and

FIGS. 4A-4O are front views of a display providing a wide range of exemplary status and diagnostic information to an operator of a towing vehicle.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENT(S)

A brake control unit, according to the present invention, includes a processor, a memory subsystem and an accelerometer, which contains no mechanically adjustable components. The accelerometer provides a brake control signal that is used by the processor to determine the deceleration of a towing vehicle. The processor is also coupled to the memory subsystem. Preferably, the memory subsystem stores calibration data used by the processor to automatically adjust the offset of the brake control signal to properly center the output curve to account for variations in the brake control signal that are due to initial offset and temperature variations of the accelerometer. The brake control unit, preferably, also includes a dual seven-segment display, which provides improved status and diagnostic information to an operator of the towing vehicle. The brake control unit provides a brake output signal to a brake load (i.e., brake electromagnets) of a towed vehicle (i.e., a trailer) responsive to the brake control signal. Preferably, the brake control unit also provides a proportional brake output signal to the brake load when the towing vehicle is backing-up or a fixed brake output signal when it is completely stopped with the brake pedal depressed, for example, on an incline. This is advantageous in that the brakes of the towing vehicle are not required to stop or hold the towed vehicle, when the towing vehicle is backing-up or is stopped on an incline.

As is shown in FIG. 1A, a brake control unit 100 includes a processor 102, which is coupled to a memory subsystem 104, a display 106, an accelerometer 110 and a brake load switching circuit 108, which are all preferably mounted on a printed circuit board (PCB) 112. As used herein, the term “processor” may include a general purpose processor, a microcontroller (i.e., an execution unit with memory, etc., integrated within an integrated circuit) or a digital signal processor (DSP). The processor 102 receives a manual input signal 101, a gain input signal 103 and a boost input toggle signal 105, among other input signals (not shown in FIG. 1A). As in other brake control units, a wiper of a potentiometer coupled between a supply voltage (i.e., derived from a vehicle battery VBATT) and ground, preferably, provides the manual input signal 101 to a manual input of the processor 102. This allows an operator of the towing vehicle to apply a brake output signal to the brake load 114 of the towed vehicle without engaging the brakes of the towing vehicle. Similarly, a wiper of a rotary potentiometer that is coupled between a supply voltage (i.e., derived from a vehicle battery VBATT) and ground provides the gain input signal 103 to a gain input of processor 102. The gain input signal 103 allows an operator of the towing vehicle to adjust the maximum magnitude (i.e., the duty cycle) of the brake output signal provided, via the brake load switching circuit 108, to the brake load (i.e., brake electromagnets) 114 of the towed vehicle (e.g., a trailer).

According to one embodiment of the present invention, a boost switch coupled to a boost input of the processor 102, when actuated, causes the processor 102 to toggle between normal operation and providing an increased initial brake output signal to the brake load 114 of the towed vehicle. Preferably, when the boost switch (SW1, see FIG. 2A) toggles the boost on, processor 102 provides an initial brake output signal that is equal to a fraction of the maximum brake output signal currently set by the gain input signal 103. The boost switch advantageously allows the operator to add an additional brake output signal at the start of a braking event to compensate for different trailers, trailer weight or other different braking conditions (e.g., wet or dry road conditions). This allows a vehicle operator to provide a more aggressive brake setting when the brake control unit is utilized with, for example, heavy multiaxle trailers. Alternatively, a variable boost (e.g., set with a potentiometer) or incrementally stepped values can be employed.

The display 106 is preferably a dual seven-segment display, which provides information to the operator of the vehicle in the form of alphanumeric characters. As mentioned above, the accelerometer 110 provides a brake control signal to processor 102, which the processor 102 utilizes in determining the magnitude of the brake output signal to apply to the brake load 114 of the towed vehicle. As mentioned above, the brake output signal is applied by the brake load switching circuit 108, of which one embodiment is further described below in conjunction with FIGS. 2A-2B.

As shown in FIG. 1B, the accelerometer 110 is preferably mounted at an angle 116 with respect to the PCB 112. Mounting the accelerometer 110 at an angle (nominally, forty-five degrees) 116 with respect to the PCB 112 advantageously allows the mounting range of the brake control unit 100 to be offset. That is, when the brake control unit 100 is mounted at an angle of forty-five degrees (i.e., clockwise) with respect to horizontal, the accelerometer 110 is horizontal. Depending upon the application, accelerometer angles other than forty-five degrees may prove beneficial.

As is typical with brake control units, the brake control unit 100 is intended for under dashboard mounting. As designed, the brake control unit 100 has a relatively wide mounting range. However, the optimum-mounting angle is forty-five degrees with a minimum preferred mounting angle of zero degrees and a maximum preferred mounting angle of seventy degrees. When the brake control unit 100 is mounted outside of its preferred operating range, the processor 102 is preferably programmed to activate the display 106 such that appropriate upper or lower horizontal segments of each seven-segment display 406 and 408 flash to indicate in which direction the brake control unit 100 has exceeded its mounting range (see FIGS. 4M and 4O).

In a preferred embodiment, the display 106 provides both a brake output signal level and other diagnostic or warning conditions. For example, FIG. 4A depicts a typical output of the display 106 during normal operation when the boost switch is asserted. As shown in FIG. 4A, the display 106 indicates a brake output signal level of 8.8 volts with a first seven-segment display 406 indicating an ‘8’ and a second seven-segment display 408 indicating an ‘8’, where a power indicator 402 serves as a decimal point and a boost indicator 404 is also illuminated to indicate that the boost switch has been asserted. When providing the output signal level, the display 106 preferably becomes active upon movement of a manual control or activation of a towing vehicle stop light switch (as is further discussed with respect to FIGS. 2A-2B). As depicted in FIG. 4B, when the unit 100 is active, the indicator 402 is on, indicating that power is applied to the brake control unit 100. When a trailer is not connected and the manual control is operated, the display 106 indicates ‘n.c’ (see FIG. 4F). When a trailer is connected, the display 106 changes to indicate ‘.c’ (see FIG. 4C). When a trailer is connected and the manual control is operated, the display 106 indicates the brake output signal level in one-tenth increments up to ten volts and in one volt increments from ten volts to sixteen volts.

If the processor 102 detects a shorted output, the display 106 provides a ‘S.H’, which is flashed every one-half second (see FIG. 4K). If the processor 102 detects a current overload, it provides an ‘O.L’ on the display 106, which flashes at a rate of one-half second (see FIG. 4L). When the processor 102 determines that an open ground exists, it causes display 106 to provide an ‘O.G’, which flashes every one-half second (see FIG. 4N). When the processor 102 is powered and the boost input toggle signal is asserted, both decimal points 402 and 404 are illuminated (see FIG. 4D).

As shown in FIG. 4E, display 106 provides ‘.c.’ when a trailer is connected and the boost switch has been asserted. FIG. 4G depicts a typical brake output voltage on display 106 of ‘6.5’ volts during a braking event when the trailer is connected. The display 106 provides the indication, shown in FIG. 4B when a trailer is not connected during a braking event. FIG. 4I depicts a display 106 providing a brake output signal level of ‘6.5’ volts when the boost switch has been asserted. If during operation of the towing vehicle the trailer connection changes from connected to not connected, the display 106 provides the indication ‘n.c’ flashed every half second as shown in FIG. 4J.

Moving to FIGS. 2A-2B, an electrical schematic of a preferred brake controller 200 is illustrated, according to one embodiment of the present invention. In the embodiment of FIGS. 2A-2B, the processor 102 and portions of the memory subsystem 104, of FIG. 1A, are implemented as a microcontroller U5. The microcontroller U5 receives a manual input signal (on pin 6) from a potentiometer (i.e., a manual control) V1 and a gain input signal (on pin 8) from a potentiometer (i.e., a gain control) V2. When a boost switch SW1 is asserted, a boost input toggle signal, as described above, is received on pin 19 of the microcontroller U5. A suitable microcontroller is manufactured and made commercially available by the Toshiba Corporation (part no. TMP87C809). The TMP87C809 includes 8K of internal read-only memory (ROM), two-hundred fifty-six bytes of internal random access memory (RAM), six internal LED drivers, eight ten-bit analog-to-digital (A/D) converter channels, one sixteen-bit timer/counter, two eight-bit timer/counters and twenty-two I/O ports.

The microcontroller U5 monitors the towing vehicle stoplight switch (via connector P1, pin B) on pin 21 via a divider/filter network including a resistor R8, a resistor R9 and a capacitor C6, whose values are preferably 10kΩ, 22kΩ and 0.1 μF, respectively. The microcontroller U5 monitors the brake output signal (provided to the brake load via connector P1, pin D and pin C (ground)) on pin 9 via a divider/filter network including a resistor R15, a resistor R22 and a capacitor C13, whose values are preferably 22kΩ, 10kΩ and 4.7 μF, respectively.

An accelerometer U101 is coupled to the microcontroller U5 and, as is mentioned above, provides a brake control signal to the microcontroller U5. A suitable accelerometer is manufactured and made commercially available by Analog Devices, Inc (part no. ADXL105). The ADXL105 is a single-axis acceleration measurement system including a temperature sensor, a single-axis accelerometer and an uncommitted operational amplifier incorporated on a monolithic integrated circuit. The output of the single-axis accelerometer is coupled, through a resistor R103 (preferably 20.0 kΩ), to a negative input of the operational amplifier. A positive input of the operational amplifier is coupled to an internal reference (via a connection between pins 9 and 10 of the accelerometer U101), whose value is equal to VDD/2. An output of the operational amplifier is coupled to the microcontroller U5 (on pin 7) through a filter network including a resistor R21 and a capacitor C14, whose values are preferably 4.7kΩ and 4.7 μF. As determined by the data stored in U6, read via pin 11, and the temperature of the accelerometer, read via pin 10, the microcontroller U5 provides a pulse width modulated (PWM) signal via pin 13. This PWM signal is filtered to provide a direct current (DC) offset current to the negative input of the operational amplifier through a filter network including a resistor R26, a capacitor C16, a capacitor C103, and a resistor R104, whose values are preferably 10kΩ, 4.7 μF., 0.1 μF. and 69.8kΩ, respectively.

The accelerometer U101 is calibrated in the factory to determine initial offset from 2.5 volts (when the accelerometer is horizontal) and any offset drift due to temperature. This information is stored in U6 and then the write protect on U6 is enabled by removing R25. The accelerometer U101 is calibrated while mounted with the sensitive axis horizontal so the acceleration of gravity produces no acceleration in the sensitive axis. When the offset is compensated in this position the output (i.e., the operating point) of the amplifier is 2.5 volts.

A resistor R102 and a capacitor C102 (whose values are preferably 200kΩ and 0.1 μF.) form a feedback filter network between the output and the negative input of the operational amplifier and in conjunction with R103 set the gain and frequency response of the amplifier. The mnicrocontroller U5 is programmed to periodically determine the output of the accelerometer U101, by reading the level of a signal at pin 7. As used in the unit 200, the amplifier gain is set such that accelerometer U101 provides a brake control signal that varies between zero volts (at−1G) and five volts (at+1G) with two and one-half volts corresponding to no acceleration (i.e., 0G with the accelerometer level). That is, the accelerometer preferably provides a brake control signal level of two and one-half volts when no acceleration is detected and the brake control unit is mounted at forty-five degrees to horizontal.

FIG. 3A shows the effect any offset would have on the output signal. The center curve relates the output of the amplifier with no offset as the sensitive axis is rotated from straight up to straight down. This causes the accelerometer to detect the acceleration of gravity from −1G to +1G. The output traverses from near zero to near +5 volts in a sinusoidal form since the acceleration sensed is G sinθ. As can be seen, if an offset exists the curve is pushed up or down and the useful range is limited.

The microcontroller U5 also receives a temperature output signal (on pin 10) from the accelerometer U101, which is utilized for temperature compensation of the accelerometer U101. The microcontroller U5 is also coupled to a non-volatile memory (e.g., an electrically erasable programmable read-only memory (EEPROM)) U102, which stores offset and temperature calibration factors for the accelerometer U101. In this manner, microcontroller U5 can determine the temperature of accelerometer U101 and then apply an appropriate temperature calibration factor from the memory U102 to correct for the shifting (and possible operation in a non-linear portion of the curve) of the brake control signal with temperature. A suitable non-volatile memory is manufactured and made commercially available by Microchip Technology Inc. (part no. 24C01C). The 24C01C is a 1K byte serial EEPROM and is organized as a single block of 128 by eight-bit memory with a two-wire serial interface for reading/writing to the device.

The microcontroller U5 implements an algorithm using a stored average value (i.e., preferably, a reading is taken every 200 ms with the ten most recent readings being averaged) of the accelerometer output (i.e., the brake control signal), which is compared to the current brake control signal after the brake pedal of the towing vehicle is depressed. This rolling average sets a reference level, which is dependent on mounting and attitude of the towing vehicle. This reference level (i.e., operating point) may be at 1.8 volts, 3.0 volts, or other voltage within the acceptable range set by the mounting constraints. Since the sensitivity of the accelerometer in the horizontal is a function of the cosine of the angle between the sensitive axis and horizontal the microcontroller calculates the correction factor to determine the true acceleration (or deceleration). This allows the microcontroller U5 to determine the duty cycle of the brake output signal to apply to the brake load. Deceleration experienced during even severe braking is typically less than ½ G. Therefore, it can be appreciated that the voltage of the reference might be anywhere along the generally substantially linear portion of the sine wave where there is still room to detect the deceleration.

A change in the brake control signal indicates vehicle deceleration in either a forward or reverse direction (when backing-up). When the microcontroller U5 determines that the current brake control signal has a negative magnitude or a voltage that is below the reference point that was established during the averaging algorithm, the microcontroller U5, causes a brake output signal to be applied to the brake load, if the stop light switch is activated. When the microcontroller U5 determines that the accelerometer input is not changing and that the stop light switch is still engaged, the microcontroller U5 causes the brake output signal to ramp up to a voltage that is a fixed percentage of the power control set point (set by the gain potentiometer V2) after about four seconds, which produces a brake output signal during stopped or static conditions. When the vehicle is stopped and the boost is on, the brake output voltage, preferably, immediately steps to twenty-five percent of the power control set point. Preferably, if the boost switch SW1 is pressed during the ramp function, the boost switch SW1 takes priority and the output voltage immediately changes to twenty-five percent of the power control set point.

As mentioned above, when a brake control signal that varies from a rolling average reference point is provided by the accelerometer U101, the microcontroller U5 is programmed to provide a corresponding brake output signal to a brake load 114 of a towed vehicle. The brake output signal is preferably provided in the form of a pulse width modulated (PWM) signal with a frequency of 250 Hz and a variable duty cycle, preferably, from zero to one-hundred percent. The brake output signal is provided via high-side drivers U2 and U3, which are coupled in parallel and switched by the microcontroller U5 (via pin 12) through an NPN transistor Q7.

A resistor R23 (preferably, 10kΩ) limits the base current of transistor Q7 and a resistor R4 (preferably, 10kΩ) pulls the collector of transistor Q7 to the vehicle battery VBATT (provided via connector P1, pin A), when transistor Q7 is turned off. The collector of transistor Q7 is also coupled, through a current limiting resistor R5 (preferably, 10kΩ) to a gate (pin 2) of high-side drivers U2 and U3. A drain (pin 3) of drivers U2 and U3 is coupled to VBATT and a source (pin 5) of U2 and U3 is coupled to the brake load 114 (FIG. 1A), i.e., the brake electromagnets of the towed vehicle. When transistor Q7 is turned on by the microcontroller U5, drivers U2 and U3 are shut-off and a brake output signal is not provided to the brake load. When microcontroller U5 turns transistor Q7 off, drivers U2 and U3 are turned on and a brake output signal is provided to the brake load 114 of the towed vehicle. A suitable high-side driver is manufactured and made commercially available by ST Microelectronics (part no. VN920). The VN920 is a single channel high-side solid state relay intended for driving any kind of load with one side connected to ground. The VN920 incorporates an internal voltage doubler that provides voltage to drive the gate of an internal n-channel MOSFET to a voltage higher than VBATT. This eliminates the charge-pump circuitry normally needed to drive an n-channel MOSFET. It also permits 100% duty cycle as a minimum off time is not required to recharge the charge-pump capacitor.

The drivers U2 and U3 include a built-in current-sense circuit that produces a current from the sense pin (pin 4), which is proportional to the current delivered to the load by the driver. This current sense output is monitored by the microcontroller U5 (pins 4 and 20) via a filter network including a sense resistor R10, a resistor R3 and a capacitor C11, whose values are preferably 470Ω, 10kΩ and 3300 ρF., respectively. This allows the microcontroller U5 to measure the current delivered to the load as well as determine whether a current overload condition exists with the brake load.

Microcontroller U5 also monitors the voltage across capacitor C5, via pin 5, to determine whether an open ground or short exists. The voltage across capacitor C5 is divided by resistors R7 (preferably, 47kΩ) and R13 (preferably, 10kΩ) before being provided to the microcontroller U5, such that the maximum input voltage to the microcontroller U5 is not exceeded. If the brake control 200 should lose connection to ground because of a broken wire or faulty connection the circuit will still function by conduction through flyback diode D3 and the brake electromagnets to ground. Anytime the output is pulsed, current will be delivered to the electromagnets building up energy in the magnetic field. When the pulse ends, the current will continue to flow and charge C5. The voltage across capacitor C5 will therefore rise above that of the vehicle battery VBATT. If pulsing were to continue the circuit could be damaged by excess voltage. Therefore, when the voltage rises above a preset value (e.g., 18 volts), the microcontroller U5 is programmed to determine that the brake load 114 is missing and provide status information to an operator of the vehicle, via display DS1. When the voltage falls below a preset value (e.g., 8 volts), the microcontroller U5 is programmed to determine that the brake load 114 is shorted and provide status information to an operator of the vehicle, via display DS1.

As discussed above with respect to FIGS. 4A-4O (i.e., the display 106), the microcontroller U5 is programmed to provide appropriate information to an operator of the vehicle, via display DS1, by illuminating an appropriate segment or segments and/or indicators of the seven-segment displays. A suitable display is manufactured and made commercially available by FEMA (part no. DA20).

FIG. 3A depicts three exemplary brake control signal curves 302, 304 and 306 as would typically be provided by the accelerometer U101. As mentioned above, a desired no acceleration output of 2.5 volts is indicated at point 301 on curve 302. However, depending upon the mounting orientation of the brake control unit, the output from the accelerometer may shift up or down the curve 302. Preferably, when the brakes of the towing vehicle have not been engaged for five seconds, the microcontroller U5 takes a reading every two-hundred milliseconds, stores ten readings in a first-in first-out (FIFO) buffer and averages the most recent ten readings to determine the magnitude of the offset signal to be applied to the negative input of the internal operational amplifier to cause the output of the accelerometer U101 to, for example, transition from a mounting offset point 303 to the zero acceleration point 301.

The brake control signal curve 304 represents the shifting of the curve 302 with increased temperature and the brake control signal curve 306 represents the shifting of the curve 302 with decreased temperature. As discussed above, a temperature correction factor, stored within the memory U102, is utilized to compensate for temperature variation. That is, the temperature compensation factors allow, for example, the microcontroller U5 to, based on the temperature read from the accelerometer U101, select an appropriate compensation factor such that practically speaking, the accelerometer U101 is operated on a linear portion of curves 304 and 306. Without temperature correction, the zero points may be set at 2.5 volts, i.e., points 305 or 307, which may result in operation into a non-linear portion of curves 304 (on the negative swing) and 306 (on the positive swing).

FIG. 3B illustrates an exemplary test signal 320, i.e., a test pulse that is used to determine that the brake load (i.e., the brake electromagnets) is connected to the output of the brake control unit 200. According to one test procedure, a test pulse is provided that consists of two pulses 320A and 320B. A short pulse (i.e., a reference signal) 320A sets the reference level and a longer pulse (i.e., a measurement signal) 320B is then applied to measure the slope or inductive current ramp of the signal. By comparing the measurement of the second pulse against the reference pulse, the microcontroller U5 can determine if the brake electromagnets are open, connected properly to the brake control unit 200 or improperly connected to, for example, stop/turn indicators of the towed vehicle. Alternatively, the longer pulse 320B can be utilized, by itself. The test signal 320 is preferably provided approximately every four seconds. Preferably, the reference pulse 320A has a width of approximately three-hundred ninety-five microseconds followed by an off-time of fifty-five microseconds and the measurements pulse 320B has an on-time of approximately one thousand twenty-five microseconds. As shown, the positive ramp of signals 320A and 320B indicate an inductive load is present.

When a change is detected from having brake electromagnets connected to not being connected, the display DS1 (106 of FIG. 4J) indicates to the operator, the loss of connection. This is a diagnostic or warning to help alert the operator that a potential intermittent connection or disconnection has occurred. When a brake electromagnet loss is detected, the display DS1 flashes ‘n.c’ for fifteen seconds at a one-half second rate. If during the fifteen second time period, the brake electromagnets are detected, the display DS1 immediately stops flashing and displays ‘.c’ to indicate a connection. When after fifteen seconds the electromagnets are not connected, the display DS1 stops flashing and illuminates only the power indicator, to indicate power is on. The brake control unit 200 is also capable of detecting and turning off the brake output signal if the sensed brake output current is greater than, for example, twenty amperes or shorted to ground. This may be due to a defective brake electromagnet, a fault to ground and/or wiring problems associated with the trailer, connector or towing vehicle.

As discussed above, the microcontroller U5 also monitors the status of the brake output line at four second intervals to determine whether the brake output line current exceeds a limit (e.g., twenty-eight amperes) and displays ‘S.H’ on display DS1 to indicate a potential shorted output condition. During each pulse of the brake output signal, a test is performed on the pulse to determine if the current draw is greater than twenty-eight amperes. If so, the brake control unit 200 shuts down for the remainder of the pulse and begins flashing ‘O.L’ at a one-half second rate on the display DS1. During such a condition, the brake control signal level is preferably reduced to seventy percent of the overload setting for the remainder of the braking event.

The microcontroller U5 also detects and turns off the brake output signal if the ground wire to the microcontroller U5 becomes intermittent or disconnected from the vehicle battery VBATT. This may occur due to a defective wire termination, corroded battery ground terminal or other ground wiring problems. Preferably, during each pulse of the brake output signal, a test is also performed on the measured pulse such that if an open ground is detected, the display DS1 flashes ‘O.G.’ at a half second rate to alert the operator.

The above description is considered that of the preferred embodiments only. Modification of the invention will occur to those skilled in the art and to those who make or use the invention. Therefore, it is understood that the embodiments shown in the drawings and described above are merely for illustrative purposes and not intended to limit the scope of the invention, which is defined by the following claims as interpreted according to the principles of patent law, including the Doctrine of Equivalents. 

What is claimed is:
 1. A brake control unit for providing a brake output signal to a brake load of a towed vehicle, comprising: a processor; an accelerometer coupled to the processor, the accelerometer providing a brake control signal to the processor, wherein the processor is programmed to cause an appropriate brake output signal to be provided to the brake load responsive to the brake control signal; and a memory subsystem coupled to the processor, the memory subsystem storing processor executable code which causes the processor to automatically acquire an operating point of the brake control signal when the brake control unit is mounted within a range of operating positions.
 2. The brake control unit of claim 1, further including: a display for providing status and diagnostic information.
 3. The brake control unit of claim 2, wherein the display provides an indication when the brake control unit is not mounted within the range of operating positions.
 4. The brake control unit of claim 2, wherein the display is a dual seven-segment display.
 5. The brake control unit of claim 2, wherein brake control display code causes the processor to perform the steps of: determining whether the brake load is present; and displaying the status of the brake load on the display.
 6. The brake control unit of claim 5, wherein the determining step further includes the steps of: providing a test signal to the brake load; and monitoring the slope of the current associated with the test signal to determine whether the brake load is present.
 7. The brake control unit of claim 5, wherein the brake control display code causes the processor to perform the additional steps of: determining an output voltage of the brake control unit; and displaying the output voltage on the display.
 8. The brake control unit of claim 1, wherein the brake control unit is mounted in a towing vehicle, and wherein the brake control unit provides a proportional brake output signal to the brake load of the towed vehicle when the towing vehicle brakes are applied while backing-up and a fixed brake output signal when the towing vehicle is stopped with a brake pedal of the towing vehicle depressed.
 9. The brake control unit of claim 1, wherein the processor, memory subsystem and accelerometer are mounted on a printed circuit board (PCB), and wherein the accelerometer is mounted at an angle with respect to the PCB.
 10. The brake control unit of claim 9, wherein the accelerometer is mounted at about a forty-five degree angle with respect to the PCB.
 11. The brake control unit of claim 1, wherein the memory subsystem includes a non-volatile memory for storing calibration data for the accelerometer.
 12. The brake control unit of claim 11, wherein the accelerometer includes a temperature output that provides an indication of the temperature of the accelerometer to the processor.
 13. The brake control unit of claim 1, further including: a boost switch coupled to the processor, the boost switch when asserted causing an increased initial braking force to be applied to the brake load.
 14. A method for providing a brake output signal to a brake load of a towed vehicle, comprising the steps of: providing a processor; providing an accelerometer coupled to the processor, the accelerometer providing a brake control signal to the processor, wherein the processor is programmed to cause an appropriate brake output signal to be provided to the brake load in response to the brake control signal; and providing a memory subsystem coupled to the processor, the memory subsystem storing processor executable code which causes the processor to automatically acquire an operating point of the brake control signal when the brake control unit is mounted within a range of operating positions.
 15. The method of claim 14, further including: providing a display for presenting status and diagnostic information.
 16. The method of claim 15, wherein the display provides an indication when the brake control unit is not mounted within the range of operating positions.
 17. The method of claim 15, wherein the display is a dual seven-segment display.
 18. The method of claim 15, wherein brake control display code causes the processor to perform the steps of: determining whether a brake load is present; and displaying the status of the brake load on the display.
 19. The method of claim 18, wherein the determining step further includes the steps of: providing a test signal to the brake load; and monitoring the slope of the current associated with the test signal to determine whether the brake load is present.
 20. The method of claim 18, wherein the brake control display code causes the processor to perform the additional steps of: determining an output voltage of the brake control unit; and displaying the output voltage on the display.
 21. The method of claim 14, wherein the brake control unit is mounted in a towing vehicle, and wherein the brake control unit provides a proportional brake output signal to the brake load of the towed vehicle when the towing vehicle brakes are applied while backing-up and a fixed brake output signal when the towing vehicle is stopped with a brake pedal of the towing vehicle depressed.
 22. The method of claim 14, wherein the processor, memory subsystem and accelerometer are mounted on a printed circuit board (PCB), and wherein the accelerometer is mounted at an angle with respect to the PCB.
 23. The method of claim 22, wherein the accelerometer is mounted at about a forty-five degree angle with respect to the PCB.
 24. The method of claim 14, wherein the memory subsystem includes a non-volatile memory for storing calibration data for the accelerometer.
 25. The method of claim 24, wherein the accelerometer includes a temperature output that provides an indication of the temperature of the accelerometer to the processor.
 26. The method of claim 14, further including the steps of: providing a boost switch coupled to the processor, the boost switch when asserted causing an increased initial braking force to be applied to the brake load.
 27. A brake control unit for providing a brake output signal to a brake load of a towed vehicle, comprising: a processor; a brake load switching circuit coupled to the processor, wherein the processor is programmed to cause the brake load switching circuit to couple a towed vehicle battery to the brake load responsive to a brake control signal and thus provide a brake output signal to the brake load; an accelerometer coupled to the processor, the accelerometer providing the brake control signal to the processor; and a memory subsystem coupled to the processor, the memory subsystem storing processor executable code which causes the processor to automatically acquire an operating point of the brake control signal when the brake control unit is mounted within a range of operating positions.
 28. The brake control unit of claim 27, further including: a display for providing status and diagnostic information.
 29. The brake control unit of claim 28, wherein the display provides an indication when the brake control unit is not mounted within the range of operating positions.
 30. The brake control unit of claim 28, wherein the display is a dual seven-segment display.
 31. The brake control unit of claim 28, wherein brake control display code causes the processor to perform the steps of: determining whether the brake load is present; and displaying the status of the brake load on the display.
 32. The brake control unit of claim 31, wherein the determining step further includes the steps of: providing a test signal to the brake load; and monitoring the slope of the current associated with the test signal to determine whether the brake load is present.
 33. The brake control unit of claim 31, wherein the brake control display code causes the processor to perform the additional steps of: determining an output voltage of the brake control unit; and displaying the output voltage on the display.
 34. The brake control unit of claim 27, wherein the brake control unit is mounted in a towing vehicle, and wherein the brake control unit provides a proportional brake output signal to the brake load of the towed vehicle when the towing vehicle brakes are applied while backing-up and a fixed brake output signal when the towing vehicle is stopped with a brake pedal of the towing vehicle depressed.
 35. The brake control unit of claim 27, wherein the processor, memory subsystem and accelerometer are mounted on a printed circuit board (PCB), and wherein the accelerometer is mounted at an angle with respect to the PCB.
 36. The brake control unit of claim 35, wherein the accelerometer is mounted at about a forty-five degree angle with respect to the PCB.
 37. The brake control unit of claim 27, wherein the memory subsystem includes a non-volatile memory for storing calibration data for the accelerometer.
 38. The brake control unit of claim 37, wherein the accelerometer includes a temperature output that provides an indication of the temperature of the accelerometer to the processor.
 39. The brake control unit of claim 27, further including: a boost switch coupled to the processor, the boost switch when asserted causing an increased initial braking force to be applied to the brake load. 